Operator Library: Hardware Platform
此運算子代表 CLHS Dual Link 組態相機與 VisualApplets 之間的影像資料介面。 此運算子接收來自 CLHS Dual Link 組態相機的資料, 並將其饋入至影像處理應用程式中。
| 適用於硬體平台 |
|---|
| marathon VF2 |
該運算子專屬使用兩個相機類型的資源。 Applet 中無法使用更多相機資源。
此運算在其輸出連接埠 O 上提供影像資料。此輸出連接埠始終存在。
除了此標準輸出連接埠之外,如果您的設計需要,還可以指定各種選配連接埠。
CLHS protocoll 支援脈衝與 GPIO 訊息。
在執行算子個體化(Instantiation)期間,將會彈出一個對話方塊:

在此,您可以定義最多 16 個選配 GPI(通用輸入)與最多 16 個選配 GPO(通用輸出)的可用性。
此外,您可以啟用一個輸出連接埠 Output (SyncO)(視訊訊息的 MultiFGSync 位元)。
如果您將連接埠可用性設定為「0」(預設值), 則 Operator 中將不會出現該連接埠。 如果您將連接埠可用性設定為 1,則該特定連接埠可在 Operator 介面上使用。
當連接的算子變更 GPI 的狀態時,即會轉移 GPIO 狀態。當算子從相機接收到 GPIO 訊息時,所有 GPO 都會更新。
GPIO 訊息僅在通道 0 上交換。通道 1 上沒有此類通訊。
參數 Bit Width 可以設為高於或低於相機實際傳送的位元寬度之值。
如果您選擇較低的值,每個像素的 LSB 位元將會被截斷, 以便只有 MSB 位元被傳輸到應用程式中。
如果您選擇較高的值,原始像素將會被設定到輸出像素的 MSB 位置。LSB 位元將會填入零。
在這兩種情況下,相對亮度保持不變,即 白色像素保持白色,黑暗像素保持黑暗。
| Property | Value |
|---|---|
| Operator Type | M |
| Input Link | GPI0...GPI15(選購),擷取卡 GPO 的狀態(透過 CLHS 交換) |
| 輸出連結 | O,要在 VisualApplets 內部使用的擷取影像資料 GPO0...GPO15(選購),相機 GPO 的狀態(透過 CLHS 交換) SyncO,在視訊封包中設定 MultiFGSync 位元(有效期間為 1 個時脈週期) |
| Link Parameter | Output Link O | Output Link GPO0...GPO15(選購) | Input Link GPI0...GPI15(選購) | Output Link SyncO |
|---|---|---|---|---|
| Bit Width | any | 1 | 1 | 1 |
| Arithmetic | unsigned | unsigned | unsigned | unsigned |
| Parallelism | 任意,請參閱參數說明 | 1 | 1 | 1 |
| Kernel Columns | 1 | 1 | 1 | 1 |
| Kernel Rows | 1 | 1 | 1 | 1 |
| Img Protocol | {VALT_IMAGE2D, VALT_LINE1D} | VALT_SIGNAL | VALT_SIGNAL | VALT_SIGNAL |
| Color Format | VAF_GRAY | VAF_GRAY | VAF_GRAY | VAF_GRAY |
| Color Flavor | FL_NONE | FL_NONE | FL_NONE | FL_NONE |
| Max. Img Width | any | 1 | 1 | 1 |
| Max. Img Height | any | 1 | 1 | 1 |
| CameraID | |
|---|---|
| Type | 靜態寫入參數 |
| Default | 0 |
| Range | 0 |
|
此參數指定要使用的相機資源。 此外,此 ID 將用於將相機通道對應至 applet 連接埠。 |
|
| PixelFormat | |
|---|---|
| Type | 靜態寫入參數 |
| Default | Mono10p |
| Range | {Mono8,Mono10p,Mono12p,Mono14p,Mono16,Raw8,Raw10p,Raw12p,Raw14p,Raw16, Raw64, B8, B10p, B12p, B14p, B16, G8, G10p, G12p, G14p, G16, R8, R10p, R12p, R14p, R16, BGR8, BGR10p, BGR12p, BGR14p, BGR16, BGRa8, BGRa10p, BGRa12p, BGRa14p, BGRa16, BayerGR8, BayerGR10p, BayerGR12p,BayerGR14p, BayerGR16, BayerRG8, BayerRG10p, BayerRG12p, BayerRG14p, BayerRG16, BayerGB8, BayerGB10p, BayerGB12p, BayerGB14p, BayerGB16, BayerBG8, BayerBG10p, BayerBG12p, BayerBG14p, BayerBG16} |
|
此參數指定輸出 Pixel Format。 |
|
| AquisitionFormat | |
|---|---|
| Type | 靜態寫入參數 |
| Default | 面積 |
| Range | {Area; Linescan} |
|
當此參數設定為 "Area" 時, 第一個可用的資料會是完整的畫面。 從中間開始的畫面將會被忽略。 因此,第一個視訊訊息中需要有 "Start Of Frame"。 在 "linescan" 模式下,畫面開始/結束 (Start/End of Frame) 將會被忽略, 因為對於線掃描相機而言,它們會被設定為 0。 |
|
| MinimalParallelism | |
|---|---|
| Type | 靜態讀取參數 |
| Default | 16 |
| Range | [1; 1024] |
|
輸出連線 O 能夠傳輸相機的最大頻寬而不會遺失資料所需的最小 Parallelism。 此值取決於目前選取的設計時脈頻率。 頻率越高,Parallelism 值就可以越低。 |
|
| LineSupervision | |
|---|---|
| Type | dynamic/static read/write parameter |
| Default | 熄滅 |
| Range | {on, off} |
|
Consistent check for lines. Checks if RowIDs following by RowStep steps. Furthermore check for integrity: Start of line (SoL) and End of Line (EoL) must be in the correct order. Missing EoL or SoL will be detected, an error flag is generated and an End of Line is inserted. Missing Lines will be inserted as smaller lines (length depends on parallelism and bitwidth) until 2 following RowIDs are detected and line consistency is guaranteed again. |
|
| RowStep | |
|---|---|
| Type | dynamic/static read/write parameter |
| Default | 1 |
| Range | {1, 65535} |
|
2 個 RowID 之間的步進。除非使用多通道相機 且行被分割到各個連線中,否則應為 1。 |
|
| OverflowOccurred | |
|---|---|
| Type | 動態讀取參數 |
| Default | 0 |
| Range | [0;1] |
|
This parameter signalizes that the internal FIFO has an overflow. Overflow indicates loss of data and need to be avoided. Possible reasons might be: One link is not sending at all, or the data is received faster than it can be processed by the operator. |
|

上一頁

